#ifndef TEXTBATCH_H
#define TEXTBATCH_H

/*
Should improve performance by batching the text 
together as a sprite batch. 
(Render all the text at once)

WIP
*/

#include "Text.h"
#include <vector>
#include <d3d9.h>

class TextBatch
{
	private:

		std::vector<Text*> batch;
		LPD3DXSPRITE _s;

	public:

		TextBatch();
		~TextBatch();

		void AddToBatch(Text * text);
		void RenderBatch();
};

#endif